function author(){
    return this;
}
var controlFns = {
    index : function(args){
        //var mSelf = this;
        //return mSelf.redirectTo('/user/login/', true);
        //参数格式:id_xx
        if(args){
            var id = args.split('_')[1];
        }
        this.authorcontent(id);
    },

    authorcontent : function(id){

        var php = {
            'authorlist' : 'store::/site/author?id='+id
        };
        var mSelf = this;
        this.setSDefault(php);
        this.bridgeMuch(php);
        this.listenOver(function(data){

            data.condition = this.req.__get;

            data._CSSLinks = ['h5/css/authorpage'];
            data._JSLinks  = ['h5/min/authorpage'];
            data.pageTitle = '作者';
            mSelf.render('author/authorpage.html', data);
        });
    },
    author_apis: function(params){
        var php = {
            'authorlist' : 'store::/site/author'
        };
        this.ajaxTo(php[params]);
    }
};
exports.__create = controller.__create(author , controlFns);
